package request

import "time"

type TaskAddRequest struct {
	GroupId     string    `form:"groupId" json:"groupId" binding:"required"`
	Title       string    `form:"title" json:"title" binding:"required"`
	Description string    `form:"description" json:"description" binding:"required"`
	Priority    int       `form:"priority" json:"priority" binding:"required"`
	ExpireTime  time.Time `form:"expireTime" json:"expireTime" binding:"required"`
	MemberTasks []struct {
		UserId int64  `form:"userId" json:"userId" binding:"required"`
		Task   string `form:"task" json:"task" binding:"required"`
	}
}
